install

public abstract Extension install(Path crxFile)

Installs the Chrome extension from the given CRX file.

The crxFile must lead to a CRX file. No publisher proof is required.

If the extension is already installed, this method returns it.

If the CRX file contains a newer version of the extension, this method updates the installed extension and returns an instance of the updated extension.

Return

the installed Chrome extension

Parameters

crxFile

the path to the extension CRX package

Throws

if the extension installation has failed or if a newer version of the extension is already installed

when the engine is closed or the profile is deleted